package com.example.demo.db1.mapper;

/**
 * @Author yfy2001
 * @date 2024/6/7 13:49
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.MyTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MyTableMapper1 extends BaseMapper<MyTable> {
   List<MyTable> selectListFromTableById(String tableName, Integer id);
   int batchInsert(@Param("tableName") String tableName, List<MyTable> myTableList);
}